const controller = require('../controller/dbServe');

// router/index.js
module.exports = function(app) {
  app.get('/', (req, res) => {
    res.send('Hello World');
  });

  // 新建wall数据
  app.post('/insertwalls', (req, res) => {
    controller.insertWalls(req, res);
  })
};